package com.ruoyi.develop.goodsReplace.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存编码替换对象 goods_replace
 *
 * @author lmm
 * @date 2025-07-31
 */
public class GoodsReplace extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 产品id */
    @Excel(name = "产品id")
    private String goodsId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String goodsCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String goodsName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String goodsModel;

    /** 被替换的产品id */
    @Excel(name = "被替换的产品id")
    private String replacedGoodsId;

    /** 被替换的产品编码 */
    @Excel(name = "被替换的产品编码")
    private String replacedGoodsCode;

    /** 被替换的产品名称 */
    @Excel(name = "被替换的产品名称")
    private String replacedGoodsName;

    /** 被替换的产品型号 */
    @Excel(name = "被替换的产品型号")
    private String replacedGoodsModel;

    /** 被替换的产品数量 */
    @Excel(name = "被替换的产品数量")
    private String replacedGoodsCount;

    /** 被替换的产品可用数量 */
    private String replacedGoodsRemainderCount;

    /** 被替换的产品重量 */
    @Excel(name = "被替换的产品重量")
    private BigDecimal replacedGoodsDun;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setGoodsId(String goodsId)
            {
            this.goodsId = goodsId;
            }

    public String getGoodsId()
            {
            return goodsId;
            }
    public void setGoodsCode(String goodsCode)
            {
            this.goodsCode = goodsCode;
            }

    public String getGoodsCode()
            {
            return goodsCode;
            }
    public void setGoodsName(String goodsName)
            {
            this.goodsName = goodsName;
            }

    public String getGoodsName()
            {
            return goodsName;
            }
    public void setGoodsModel(String goodsModel)
            {
            this.goodsModel = goodsModel;
            }

    public String getGoodsModel()
            {
            return goodsModel;
            }
    public void setReplacedGoodsId(String replacedGoodsId)
            {
            this.replacedGoodsId = replacedGoodsId;
            }

    public String getReplacedGoodsId()
            {
            return replacedGoodsId;
            }
    public void setReplacedGoodsCode(String replacedGoodsCode)
            {
            this.replacedGoodsCode = replacedGoodsCode;
            }

    public String getReplacedGoodsCode()
            {
            return replacedGoodsCode;
            }
    public void setReplacedGoodsName(String replacedGoodsName)
            {
            this.replacedGoodsName = replacedGoodsName;
            }

    public String getReplacedGoodsName()
            {
            return replacedGoodsName;
            }
    public void setReplacedGoodsModel(String replacedGoodsModel)
            {
            this.replacedGoodsModel = replacedGoodsModel;
            }

    public String getReplacedGoodsModel()
            {
            return replacedGoodsModel;
            }
    public void setReplacedGoodsCount(String replacedGoodsCount)
            {
            this.replacedGoodsCount = replacedGoodsCount;
            }

    public String getReplacedGoodsCount()
            {
            return replacedGoodsCount;
            }
    public void setReplacedGoodsDun(BigDecimal replacedGoodsDun)
            {
            this.replacedGoodsDun = replacedGoodsDun;
            }

    public BigDecimal getReplacedGoodsDun()
            {
            return replacedGoodsDun;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    public String getReplacedGoodsRemainderCount() {
        return replacedGoodsRemainderCount;
    }

    public void setReplacedGoodsRemainderCount(String replacedGoodsRemainderCount) {
        this.replacedGoodsRemainderCount = replacedGoodsRemainderCount;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("goodsId",getGoodsId())
            .append("goodsCode",getGoodsCode())
            .append("goodsName",getGoodsName())
            .append("goodsModel",getGoodsModel())
            .append("replacedGoodsId",getReplacedGoodsId())
            .append("replacedGoodsCode",getReplacedGoodsCode())
            .append("replacedGoodsName",getReplacedGoodsName())
            .append("replacedGoodsModel",getReplacedGoodsModel())
            .append("replacedGoodsCount",getReplacedGoodsCount())
            .append("replacedGoodsDun",getReplacedGoodsDun())
            .append("status",getStatus())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
        .toString();
    }
}
